import $ from 'jquery'
$('li:odd').css('color', 'red')
$('li:even').css('color', 'blue')

//引入css文件
import "./css/index.css"

// 引入less文件
import "./less/index.less"

// 引入图片
import imgboj from './assets/1.gif'
let theimg = document.createElement('img')
theimg.src = imgboj
document.body.appendChild(theimg)

// 引入字体图标
import "./assets/fonts/iconfont.css"
let theI = document.createElement('i')
theI = document.createElement('i')
theI.className = "iconfont icon-qq"
document.body.appendChild(theI)

//高版本js
const fn = () => { console.log('这是一个箭头函数') }
console.log(fn);